<?php 
// Lay cac thong so cau hinh chung
include "../../app_global.php";
// Lay cac hang so dung chung
include "../../const.php";
// Ham thuc hien lay ten file va hien thi noi dung
include "../../isa-lib/isa-function/isa_public_function.php";
require_once("../../isa-lib/nusoap/nusoap.php");
include "../../isa-lib/isa-function/prax.php";
// Kiem tra NSD da login hay qua timeout chua
//include "../../test_login.php";
include "../../connect.php";
include "../../connect_ado.php";
// Khoi tao cac bien SESSION chua quyen modul, function cua NSD
include "../../init_session.php";
// Lay cac thong so cau hinh rieng cho chuc nang nay
include "../../onegate_function.php";
include "app_local.php";
include "const.php";
if (!isset($_REQUEST['modal_dialog_mode'])) {
	include "../../dsp_header.php";
}else{
	include "../../dsp_modal_dialog_header.php";
}
?>
<script src="../../isa-lib/isa-js/isa_util.js" ></script>
<script src="../../record/receive/js_record.js"></script>
<script src="js_citizen.js"></script><?php
switch($fuseaction) {
	case "DISPLAY_ALL_CITIZEN";
	if ($v_is_granted_view){
		include "qry_all_citizen.php";
		include "dsp_all_citizen.php";
		break;
	}
	case "DELETE_CITIZEN";
		include "act_delete_citizen.php";
		break;
	default:
	if ($v_is_granted_view){
		include "qry_all_citizen.php";
		include "dsp_all_citizen.php";
		break;
	}
}
include "../../disconnect.php";
if (!isset($_REQUEST['modal_dialog_mode'])) {
	include "../../dsp_footer.php";
}else{
	include "../../dsp_modal_dialog_footer.php";
}
?>